﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoFlatnessTest.Db
{
    public class GetDemaPageDto : DemaRecord
    {
        public string ChaStr { get => $"{MiVal}({MiMaxVal},{MiMinVal})"; }
        public string IsOkStr { get => IsOk == 1 ? "合格" : "不合格"; }
        public string TimeStr { get => CreatedTime?.ToString("yyyy-MM-dd HH:mm:ss"); }
    }
}
